/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.z100h.supplychain.purchase.entity;

import java.math.BigDecimal;

import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;

/**
 * 供应链采购单明细Entity
 * @author madara
 * @version 2018-09-20
 */
public class PurchaseOrderItem extends DataEntity<PurchaseOrderItem> {

	private static final long serialVersionUID = 1L;

	private String skuId; // 产品id

	private Integer num; // 数量

	private BigDecimal price; // 单价

	private String purchaseOrderId; // 采购单id

	public PurchaseOrderItem() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public PurchaseOrderItem(String id) {
		super(id);
	}

	@ExcelField(title = "产品id", align = 2, sort = 7)
	public String getSkuId() {
		return skuId;
	}

	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	@ExcelField(title = "数量", align = 2, sort = 8)
	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	@ExcelField(title = "单价", align = 2, sort = 9)
	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	@ExcelField(title = "采购单id", align = 2, sort = 10)
	public String getPurchaseOrderId() {
		return purchaseOrderId;
	}

	public void setPurchaseOrderId(String purchaseOrderId) {
		this.purchaseOrderId = purchaseOrderId;
	}

}